#ifndef __THREADOBJ_H__
#define __THREADOBJ_H__
#include <string>

using namespace std;

class ThreadObj
{
    public:
        ThreadObj()
        {
            ID = 0;
            description = "";
        }

        ThreadObj(int ID, string description)
        {
            this->ID = ID;
            this->description = description;
        }

        pthread_t* getThread()
        {
            return &thread;
        }

        void setDescription(string description)
        {
            this->description = description;
        }

        string getDescription()
        {
            return description;
        }

        void setID(int ID)
        {
            this->ID = ID;
        }

        int* getID()
        {
            return &ID;
        }

    private:
        int ID;
        string description;
        pthread_t thread;
};

#endif
